package com.yonyou.ucf.mdf.app.isvdxq.secondpart.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.gson.Gson;
import com.yonyou.iuap.yms.annotation.YMSColumn;
import com.yonyou.iuap.yms.annotation.YMSEntity;
import com.yonyou.iuap.yms.annotation.YMSTable;
import com.yonyou.ucf.mdf.app.isvdxq.secondpart.entity.EpcEntity;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@YMSEntity
@YMSTable
public class EpcBean extends EpcEntity {
    //物料扩展信息
    private String locationName;//
    private String path;
    private String warehouseCode;
    private String warehouseName;
    //订单信息
    private String orderid;
    private String orderdetailid;
    @YMSColumn(name = "batch_no")
    private String batch_no;
    private String storerecordid;
    //托盘信息
    private String tag;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getOrderdetailid() {
        return orderdetailid;
    }

    public void setOrderdetailid(String orderdetailid) {
        this.orderdetailid = orderdetailid;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getStorerecordid() {
        return storerecordid;
    }

    public void setStorerecordid(String storerecordid) {
        this.storerecordid = storerecordid;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }
}
